package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告出租对象 t_rent
 *
 * @author ruoyi
 * @date 2022-12-01
 */
public class TRent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 广告位 */
    @Excel(name = "广告位")
    private Long position;

    /** 出租时间 */
    @Excel(name = "出租时间")
    private Long cztime;

    /** 商家主键 */
    @Excel(name = "商家主键")
    private Long sId;

    /** 出租费用 */
    @Excel(name = "出租费用")
    private Long lease;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPosition(Long position)
    {
        this.position = position;
    }

    public Long getPosition()
    {
        return position;
    }
    public void setCztime(Long cztime)
    {
        this.cztime = cztime;
    }

    public Long getCztime()
    {
        return cztime;
    }
    public void setsId(Long sId)
    {
        this.sId = sId;
    }

    public Long getsId()
    {
        return sId;
    }
    public void setLease(Long lease)
    {
        this.lease = lease;
    }

    public Long getLease()
    {
        return lease;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("position", getPosition())
            .append("cztime", getCztime())
            .append("sId", getsId())
            .append("lease", getLease())
            .toString();
    }
}
